package greendao.entity;

import android.os.Parcel;
import android.os.Parcelable;

import com.bigkoo.pickerview.model.IPickerViewData;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

/**
 * Created by zx on 2017/4/27.
 */

//单位信息实体
 @Entity
public class UnitInformation{

    @Id(autoincrement = true)
    Long Id;
    private String ljyyxDwxxId;
    private String ljyyxDwxxName;
    private String ljyyxDwxxType;
    private String parentId;
    private String ljyyxDwxxKsdate;
    private String ljyyxDwxxJsdate;
    private String deleteFlag;
    private String cjrId;
    private String cjrq;
    private String xgrId;
    private String xgrq;
    private boolean isSelected;
    @Generated(hash = 1881042710)
    public UnitInformation(Long Id, String ljyyxDwxxId, String ljyyxDwxxName,
            String ljyyxDwxxType, String parentId, String ljyyxDwxxKsdate,
            String ljyyxDwxxJsdate, String deleteFlag, String cjrId, String cjrq,
            String xgrId, String xgrq, boolean isSelected) {
        this.Id = Id;
        this.ljyyxDwxxId = ljyyxDwxxId;
        this.ljyyxDwxxName = ljyyxDwxxName;
        this.ljyyxDwxxType = ljyyxDwxxType;
        this.parentId = parentId;
        this.ljyyxDwxxKsdate = ljyyxDwxxKsdate;
        this.ljyyxDwxxJsdate = ljyyxDwxxJsdate;
        this.deleteFlag = deleteFlag;
        this.cjrId = cjrId;
        this.cjrq = cjrq;
        this.xgrId = xgrId;
        this.xgrq = xgrq;
        this.isSelected = isSelected;
    }
    @Generated(hash = 1990009066)
    public UnitInformation() {
    }
    public Long getId() {
        return this.Id;
    }
    public void setId(Long Id) {
        this.Id = Id;
    }
    public String getLjyyxDwxxId() {
        return this.ljyyxDwxxId;
    }
    public void setLjyyxDwxxId(String ljyyxDwxxId) {
        this.ljyyxDwxxId = ljyyxDwxxId;
    }
    public String getLjyyxDwxxName() {
        return this.ljyyxDwxxName;
    }
    public void setLjyyxDwxxName(String ljyyxDwxxName) {
        this.ljyyxDwxxName = ljyyxDwxxName;
    }
    public String getLjyyxDwxxType() {
        return this.ljyyxDwxxType;
    }
    public void setLjyyxDwxxType(String ljyyxDwxxType) {
        this.ljyyxDwxxType = ljyyxDwxxType;
    }
    public String getParentId() {
        return this.parentId;
    }
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    public String getLjyyxDwxxKsdate() {
        return this.ljyyxDwxxKsdate;
    }
    public void setLjyyxDwxxKsdate(String ljyyxDwxxKsdate) {
        this.ljyyxDwxxKsdate = ljyyxDwxxKsdate;
    }
    public String getLjyyxDwxxJsdate() {
        return this.ljyyxDwxxJsdate;
    }
    public void setLjyyxDwxxJsdate(String ljyyxDwxxJsdate) {
        this.ljyyxDwxxJsdate = ljyyxDwxxJsdate;
    }
    public String getDeleteFlag() {
        return this.deleteFlag;
    }
    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
    public String getCjrId() {
        return this.cjrId;
    }
    public void setCjrId(String cjrId) {
        this.cjrId = cjrId;
    }
    public String getCjrq() {
        return this.cjrq;
    }
    public void setCjrq(String cjrq) {
        this.cjrq = cjrq;
    }
    public String getXgrId() {
        return this.xgrId;
    }
    public void setXgrId(String xgrId) {
        this.xgrId = xgrId;
    }
    public String getXgrq() {
        return this.xgrq;
    }
    public void setXgrq(String xgrq) {
        this.xgrq = xgrq;
    }

    @Override
    public String toString() {
        return ljyyxDwxxName;
    }
    public boolean getIsSelected() {
        return this.isSelected;
    }
    public void setIsSelected(boolean isSelected) {
        this.isSelected = isSelected;
    }

}
